#pragma once

#include "Common.h"

class PageCache {
  public:
    static PageCache *GetInstance() {
        static PageCache pc;
        return &pc;
    }

    Span *NewSpan(size_t k) { return nullptr; }

  private:
    PageCache() {}
    PageCache(const PageCache &) = delete;
    PageCache &operator=(const PageCache &) = delete;

  private:
    SpanList _spanLists[PAGE_NUM];
    std::mutex _pageMtx;
};